import java.util.Scanner;

public class catObject {


    public static void main(String[] args) {

//           创建一个猫对象
//        使用OOP来创建一个对象
        Cat cat1 = new Cat();
        cat1.name = "小花";
        cat1.age = 2;
        cat1.color = "white";

        cat1.weight = 180;

//        创建第二个猫
        Cat cat2 = new Cat();
        cat2.name = "小白";
        cat2.age = 2;
        cat2.color = "aqua";

//        Scanner scanner = new Scanner(System.in);
//        Scanner scanner1 = new Scanner();

        System.out.println("第一只猫的信息"+cat1.name+"年龄 "+cat1.age+"岁，颜色是 "+cat1.color+"体重是"+cat1.weight);
//

    }

}


class  Cat{
    //        属性
    String name;
    int age;
    String color;
    int weight;


}